package com.tistory.admin.common.tag;
import java.io.IOException;
 


import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

import com.tistory.common.vo.DisplayContstant;
 
public class MsgTagHandler extends TagSupport {
    private static final long serialVersionUID = 1L;
	private String day;
    @Override
    public int doStartTag() throws JspException {
        try {
            JspWriter out = pageContext.getOut();
            out.print(DisplayContstant.getDay(day));
        } catch (IOException e) {
            e.printStackTrace();
        }
         
        return SKIP_BODY;
    }
    
	/**
	 * @return the day
	 */
	public String getDay() {
		return day;
	}
	/**
	 * @param day the day to set
	 */
	public void setDay(String day) {
		this.day = day;
	}
    
    
}